import axios from 'axios';
import global from '../assets/js/global'
let center = global.center;//个人中心  --- zk

//个人中心状态
export const userInfo = params => { return axios.get( center+'/userInfo/queryStatus', {params:params}).then(res => res) };

let kline = global.kline;//k线 --- zj
//获取合约列表
export const get24hrDataForAgreement = params => { return axios.get(`${kline}/quotations/get24hrDataForAgreement`, {params:params}).then(res => res) };